package main.java.creatures;

import main.java.creatures.herbivorous.SimpleHerbivore;
import main.java.creatures.plant.SimplePlant;
import creatures.ICreature;
/**
 * 
 * Interface which determine what creatures are in the ecosystem
 *
 */
public interface IAround extends ICreature {
	
	/**
	 * Indirection to creature Parameters
	 * @param h Herbivore
	 */
	public void isVisitedBy(SimpleHerbivore h);
	
	/**
	 * Indirection to creature Parameters
	 * @param h Herbivore
	 */
	public void isVisitedBy(SimplePlant p);
	
	/**
	 * IAround creature visit a SimpleHerbivore
	 * @param h SimpleHerbivore
	 */
	public void visit(SimpleHerbivore h);
	
/**
 * IAround creature visit a SimplePlante
 * @param p SimplePlant
 */
	public void visit(SimplePlant p);

}
